package org.jypj.dev.vo;

import com.google.gson.Gson;

/**
 * 车次VO
 * 
 * @author chenyu
 *
 */
public class TrainVo {

	private String trainCode;
	private String startTime;
	private String endTime;
	private Object workDatas;

	public String getTrainCode() {
		return trainCode;
	}

	public void setTrainCode(String trainCode) {
		this.trainCode = trainCode;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public Object getWorkDatas() {
		return workDatas;
	}

	public void setWorkDatas(Object workDatas) {
		this.workDatas = workDatas;
	}
	
	@Override
	public String toString() {
		Gson gson = new Gson();
		return gson.toJson(this);
	}
}
